<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册添加数据</title>
</head>

<body>
<?php
require_once("config.inc.php");
require_once(INCLUDE_PATH . "db.inc.php");
require_once(INCLUDE_PATH . "user.inc.php");
if(!$_GET['UserName']) {
	echo "用户名不能为空";
	exit;
}
$User = new User();
if($User->CheckUserNameExist($_GET['UserName']))
{
	echo "该用户名已存在";
}else{
	echo "该用户名可以使用";
}
?>
</body>
</html>